<template>
    <el-radio-group v-model="option" @change="sendOptionsToMiniblink">
        <el-radio label="1">option 1</el-radio>
        <el-radio label="2">option 2</el-radio>
        <el-radio label="3">option 3</el-radio>
    </el-radio-group>
</template>

<script>
    export default {
        data() {
            return {
                option: '1'
            }
        },
        methods: {
            sendOptionsToMiniblink(option) {
                //console.log(typeof (option) + ": " + option)
                window.optionAlert(option)
            }
        }
    }
</script>
